home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4644 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  885 b 

  1. Path: lyra.csx.cam.ac.uk!warwick!ral!usenet
  2. From: The Lord of Darkness <J.Biddiscombe@rl.ac.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: UNIX to PC - what are these ???
  5. Date: Wed, 31 Jan 1996 14:07:23 +0000
  6. Organization: Rutherford Appleton Laboratory
  7. Message-ID: <310F779B.68EC@rl.ac.uk>
  8. NNTP-Posting-Host: bell.te.rl.ac.uk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  13.  
  14. I'm attempting to convert some code written by someone else, some time ago,
  15. Does anyone know how I can access these functions or equivalent on the PC (BC++4.52)
  16.  
  17. if (isinf(d)) return 0; 
  18. isinf ???
  19.  
  20. if (isnan(I.x)) continue;
  21. not a number 
  22.  
  23. double d = infinity();
  24. infinity
  25.  
  26. P2.x = P.x + 1+(drand48()*10);
  27. some random function.
  28.  
  29. If you can help, then thanks very much, and could you please mail as well as post a reply.
  30.  
  31. Thanks
  32.  
  33. John B
  34.